package com.wosai.register.repository;

import java.util.List;

import com.wosai.register.model.BranchExpend;

public interface BranchExpendRepository {
    BranchExpend findById(String merchantId, String branchId, String terminalId, String id);
    List<BranchExpend> findByTerminal(String merchantId, String branchId, String terminalId, String startDate, String endDate);

    List<String> insertBatch(List<BranchExpend> expends);
    List<String> updateBatch(List<BranchExpend> expends);
    
    void delete(String merchantId, String branchId, String terminalId, String id);
    void deleteByTerminal(String merchantId, String branchId, String terminalId);
}
